<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/8/23
  Time: 14:45
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>暂缓流失</title>

    <link rel="shortcut icon" href="<c:url value="/images/favicon.ico"/>" type="image/x-icon"/>
    <script src="<c:url value="/js/jquery-1.9.1.min.js"/>"></script>
    <script src="<c:url value="/layui/layui.js"/>"></script>
    <link rel="stylesheet" type="text/css" href="<c:url value="/layui/css/layui.css"/>">

    <script src="<c:url value="/js/my/commons.js"/>"></script>
    <style>
        .container {
            width: 1900px;
            margin: -80px auto;
        }

        table {
            width: 100%;
        }
    </style>

</head>
<body class="">

<form class="layui-form layui-form-pane" action="${pageContext.request.contextPath}/user/register.do"
      style="margin-left: 150px" id="registerForm" method="post">

    <div class="layui-form-item" style="margin-top: 120px;">
        <%--    编号    --%>
        <div class="layui-inline">
            <label class="layui-form-label">账户：</label>
            <div class="layui-input-inline">
                <input id="id" name="username" lay-verify="required" value="1"
                       type="text" autocomplete="off" class="layui-input" >
            </div>
        </div>
        <%--    机会来源    --%>
        <div class="layui-inline" style="margin-left: 100px">
            <label class="layui-form-label">密码：</label>
            <div class="layui-input-inline">
                <input id="password" name="password" lay-verify="required"
                       type="text" autocomplete="off" class="layui-input" >
            </div>

        </div>
    </div>

    <div class="layui-form-item">
        <%--     客户名称   --%>
        <div class="layui-inline">
            <label class="layui-form-label">真实姓名：</label>
            <div class="layui-input-inline">
                <input id="realName" name="realName" lay-verify="required"
                       type="text" autocomplete="off" class="layui-input" >
            </div>
        </div>
        <%--     成功几率   --%>
        <div class="layui-inline" style="margin-left: 100px">
            <label class="layui-form-label">角色：</label>
            <div class="layui-input-inline">
                <select name="roleId">
                    <option value="1">客户经理</option>
                    <option value="2">销售主管</option>
                    <option value="3">高管</option>
                </select>
            </div>
        </div>
    </div>

    <div class="layui-form-item" style="margin-left: 700px">
        <div class="layui-input-block">
            <button class="layui-btn " id="save">保存</button>
        </div>
    </div>
</form>

<script>
    layui.use(['form', 'table', 'layer', 'laydate', 'layedit'], function () {
        var table = layui.table
            , form = layui.form
            , layer = layui.layer
            , laydate = layui.laydate
            , layedit = layui.layedit;

        $('#registerForm').submit(function () {

        });
    });

</script>


</body>
</html>
